]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspacesView: dispose _scrollAdjustment in _onDestroy
authorMaxim Ermilov <zaspire@rambler.ru>
Fri, 28 Jan 2011 02:41:57 +0000 (05:41 +0300)
committerMaxim Ermilov <zaspire@rambler.ru>
Tue, 1 Feb 2011 20:41:11 +0000 (23:41 +0300)
https://bugzilla.gnome.org/show_bug.cgi?id=640781

js/ui/workspacesView.js

index 5f95a882be7e4f87b5464f5e58beaee83a5e0297..f53db7aea9767e657ae77c367367994b02b32d48 100644 (file)
@@ -476,6 +476,7 @@ WorkspacesView.prototype = {
     },
 
     _onDestroy: function() {
+        this._scrollAdjustment.run_dispose();
         Main.overview.disconnect(this._overviewShowingId);
         global.window_manager.disconnect(this._switchWorkspaceNotifyId);
         global.screen.disconnect(this._restackedNotifyId);